package com.ai.module.user.domain.entity;

import com.ai.module.chat.common.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author: MrHe
 * @create: 2023-09-02 10:22
 * @description: 图片广场
 **/
@Data
@TableName("image_ground")
public class ImageGroundEntity extends BaseEntity {

    @TableField("user_id")
    private String userId;

    @TableField("source_type")
    private String sourceType;

    @TableField("prompt")
    private String prompt;

    @TableField("prompt_list")
    private String promptList;

    @TableField("file_path")
    private String filePath;

    @TableField("bucket_name")
    private String bucketName;

    @TableField("file_name")
    private String fileName;

    @TableField("scale_path")
    private String scalePath;

    @TableField("project_name")
    private String projectName;

    @TableField("expire_time")
    public LocalDateTime expireTime = LocalDateTime.now();

    @TableField("title_id")
    private String titleId;

}
